/**
 * 
 */
package me.myachievements.web.tag;

import java.util.List;

import me.myachievements.persistence.tag.Tag;

/**
 * @author besseym
 *
 */
public class UnAssociatedTagsModel extends GoalTagsModel {

	/**
	 * Constructor
	 * @param goalId
	 */
	public UnAssociatedTagsModel(Long goalId) {
		super(goalId);
	}

	/* (non-Javadoc)
	 * @see org.apache.wicket.model.LoadableDetachableModel#load()
	 */
	@Override
	protected List<Tag> load() {
		return tagPersistanceManager.getNotAssociatedTags(this.getGoalId());
	}

}
